<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>确认待处理订单列表</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
	</head>
	<body>
		<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form id="form1" action="${ctx}/addBillManage.do?method=confirmBill" method="post">
		<input type="hidden" name="wuliu" value="${wuliu}" />
			<input type="hidden" name="caiwu" value="${caiwu}" />
			<input type="hidden" name="dianzi" value="${dianzi}" />
			<input type="hidden" name="wuliu2" value="${wuliu2}" />
			<table align="center">
				<tr>
					<th colspan="2" height="25px">
						财务部处理订单
					</th>
				</tr>
				<tr>
					<td class="td_01">
						付款金额：
					</td>
					<td class="td_04">
					${ordercaiwu.orderprice}
					</td>
				</tr>
				<tr>
					<td class="td_01">
						汇款渠道：
					</td>
					<td class="td_04">
						<logic:equal value="1" name="ordercaiwu" property="paymenttype">支付宝</logic:equal>
						<logic:equal value="2" name="ordercaiwu" property="paymenttype">快钱</logic:equal>
						<logic:equal value="3" name="ordercaiwu" property="paymenttype">信用卡网上支付</logic:equal>
						<logic:equal value="4" name="ordercaiwu" property="paymenttype">上门自提</logic:equal>
						<logic:equal value="5" name="ordercaiwu" property="paymenttype">货到付款</logic:equal>
						<logic:equal value="6" name="ordercaiwu" property="paymenttype">银行转账/汇款</logic:equal>
						<logic:equal value="7" name="ordercaiwu" property="paymenttype">货到POS机刷卡</logic:equal>
					</td>
				</tr>
					<tr>
					<td class="td_01">
						原提醒：
					</td>
					<td class="td_04">
						<textarea name="orderindex.attendtion" cols="47" rows="5" readonly="readonly">${orderindex.attendtion}</textarea>
					</td>
				</tr>
				<tr>
					<td class="td_01">
						新提醒：
					</td>
					<td class="td_04">
						<textarea name="attendtion" cols="47" rows="5"></textarea>
					</td>
				</tr>
				<tr>
				<input type="hidden" name="orderindex.id" value="${para.id}" />
					<td colspan="2" class="td_01">
					<input type="button" value="订单确认" class="btn" onclick="javascript:panduan('con')" />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" onclick="window.close()" value="关闭页面" class="btn" style="border: 1 solid #000000" />
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script type="text/javascript">
	function panduan(va){
	  if (!confirm("是否确认提交?")) {
					return;
	  }
	  var form1=document.getElementById("form1");
	  if(va=='con'){
	  form1.action="addBillManage.do?method=caiwuconfirmBill";	  
	  }else{
	  form1.action="addBillManage.do?method=cancel";
	  }
	  form1.submit();
	  window.close();
	    window.opener.location.href="${ctx}/addBillManage.do?method=select&dianzi=${dianzi}&wuliu=${wuliu}&caiwu=${caiwu}&wuliu2=${wuliu2}";
	}
	</script>
</html>